<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="采购订单统计" name="first">用户管理</el-tab-pane>
      <el-tab-pane label="供应商采购统计" name="second">配置管理</el-tab-pane>
      <el-tab-pane label="产品采购统计" name="third">角色管理</el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
export default {
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>